package com.hdoit.ares.logical.acc.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2017年11月27日 09:18:01
 * @comment
 */
@Entity
@Table(name="acc_account_detail")
public class AccountDetail extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //会员号
    @Column(name="account")
    private String account;
    
    //客户Id
    @Column(name="customerId")
    private String customerId;

    //账户号
    @Column(name="accountNo")
    private String accountNo;

    //交易类型
    @Column(name="moneyType")
    private String moneyType;

    //收入/支出
    @Column(name="state")
    private String state;

    //单号
    @Column(name="serviceId")
    private String serviceId;

    //交易时间
    @Column(name="time")
    private Date time;

    //交易金额
    @Column(name="money")
    private double money;

    //剩余金额
    @Column(name="balance")
    private double balance;
    
    //收入
    @Transient
    private double incomeMoney;
    
    //支出
    @Transient
    private double expendMoney;
    
    //日提现笔数
    @Transient
    private int totalNum;
    
    //日提现总金额
    @Transient
    private double totalMoney;
    
    //追踪人
    @Transient
    private String userIdentity;

	public String getUserIdentity() {
		return userIdentity;
	}
	public void setUserIdentity(String userIdentity) {
		this.userIdentity = userIdentity;
	}
	public double getIncomeMoney() {
		return incomeMoney;
	}
	public void setIncomeMoney(double incomeMoney) {
		this.incomeMoney = incomeMoney;
	}
	public double getExpendMoney() {
		return expendMoney;
	}
	public void setExpendMoney(double expendMoney) {
		this.expendMoney = expendMoney;
	}
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getAccount(){
        return this.account;
    }
    public void setAccount(String account){
         this.account=account;
    }

    public String getAccountNo(){
        return this.accountNo;
    }
    public void setAccountNo(String accountNo){
         this.accountNo=accountNo;
    }

    public String geMoneyType(){
        return this.moneyType;
    }
    public void setMoneyType(String moneyType){
         this.moneyType=moneyType;
    }

    public String getState(){
        return this.state;
    }
    public void setState(String state){
         this.state=state;
    }

    public Date getTime(){
        return this.time;
    }
    public void setTime(Date time){
         this.time=time;
    }

    public double getMoney(){
        return this.money;
    }
    public void setMoney(double money){
         this.money=money;
    }

    public double getBalance(){
        return this.balance;
    }
    public void setBalance(double balance){
         this.balance=balance;
    }
	public String getServiceId() {
		return serviceId;
	}
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}
	public String getMoneyType() {
		return moneyType;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	public double getTotalMoney() {
		return totalMoney;
	}
	public void setTotalMoney(double totalMoney) {
		this.totalMoney = totalMoney;
	}
    
    
}